 |
 |
 |
 |
#136658 - 06/11/01 10:26 AM
Re: [6.x] album.pl 6.0: Uploadable Photo Gallery for UBB
|
Member
Registered: 09/30/00
Posts: 484
Loc: Muc/Germany
|
WOW! I have been searching a long time for such a hack, I really would like to use it but the only thing i'm missing is the ability for users to create their own sections/directories/categories and the possibility to list all categories a) alphabetically b) by date (chronologically) c) by user who uploaded the pictures It would be also a great thing to resize all thumbnails to the same size, so the overview would look more 'clean' - GREAT! please drop me an email concerning this hack 2 chris@technoforum.de thanks a lot and i'm wondering why noone else seems to be intersted in this hack  chris http://technoforum.de
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#136660 - 06/12/01 07:12 AM
Re: [6.x] album.pl 6.0: Uploadable Photo Gallery for UBB
|
Member
Registered: 02/28/01
Posts: 145
Loc: .
|
I really like this and have downloaded the .zip file. I would be all for having you clean it up and make installing it easier. Looking at the files, I see you have a large range of directories that the script uses. (/data/photos) or (d:/profiles/bobbitt/Inetpub/wwwroot/cgi-bin/photo.gif") and (../img/photo.gif). I'd love to test this out for myself but knowing what to change and not to change seems to be the headache here. Great idea though, congrats on pushing it out to all of us. Hope to see some instructions with this. *edit* It's going slowly but I'm putting it together step by step. Perhaps the "Error - Error opening file for writing" comment when trying to write to the gallery directory could be clearer. I didn't know if it was the log file or the image that it couldn't open. (Had to set my permissions to my gallery directory to chmod 666). Also, one has to create a 0 byted log file (gallery.log) before the log file will start working. Perhaps include this in your zip file. At least, that's what I had to do before I could get past the log error messages  Another idea (sorry, just brain storming) is a file size limit. Someone could rename a 500meg bin file to image01.jpg and submit it, crashing the server. Question: If a user is banned from the message board, will the gallery script detect this and disallow photo submissions? Can a user who's IP is banned from posting on UBB still submit as well? Ever thought of a rating system? Users could vote for their favorite image. Then you could have a "Top 10 Images" within the photo gallery. This has great potential and I hope you continue to work on it in your spare time as it will get a lot of use and support! Last note: Just got it working. For anyone wanting to install this, throw it into your cgi-bin directory and run the gallery.pl or album.pl from your browser. Any errors will happen on screen and you can fix them in the associated .pl file. p2kay <FONT COLOR="#000000" SIZE="1">[ June 12, 2001 07:55 AM: Message edited by: p2k ]</font>
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#136676 - 06/16/01 12:33 PM
Re: [6.x] album.pl 6.0: Uploadable Photo Gallery for UBB
|
Member
Registered: 04/30/01
Posts: 230
Loc: Ottawa, ON, Canada
|
The album.pl file has to be in your cgi-bin directory. From there, edit the $configfile line in it to set the location of album.cfg (can be in the cgi-bin directory as well). Then edit album.cfg to set all your paths and preferences. You'll need to create a directory to hold all your photos, and make it world writable if you want to be able to upload or add descriptions through the web.
Now run album.pl from the web. If there are any problems, you'll get an error message. If not, any photos in your new directory will be displayed.
An overview of the installation process is in the album.html file. It needs work, but it's a start.
If you can give me the error message your getting, and what you've done to this point, I'm sure we can figure it out.
Cheers
<FONT COLOR="#000000" SIZE="1">[ July 09, 2001 11:54 AM: Message edited by: Mike Bobbitt ]</font>
|
|
Top
|
|
|
|
 |
 |
 |
 |
|
|